<%@ Reference Page="~/ThumbNails.aspx" %>
<%@ Page language="c#" EnableViewState="true" Inherits="FlashBack.Web.FilmStrip" CodeFile="FilmStrip.aspx.cs" CodeFileBaseClass="FlashBack.Web.ThumbNails" %>
<% Response.Expires = -1;
   Server.ScriptTimeout = 360; %>
<html>
	<head>
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<LINK REL="stylesheet" Type="text/css" HREF="FlashBack.css">
		
		<script language="javascript">
		function NavigateSlide(i_path)
		{
			try
			{
				parent.SetSlideTarget(i_path);
			}
			catch(e)
			{alert(e)}
		}
		
		</script>
	</head>
	
	<BODY>
		<form method="post" runat="server" ID="Form1">
		<asp:label id="MsgLabel1" runat="server"></asp:label>
		<asp:DataGrid AllowPaging="True" OnPageIndexChanged="ChangePageIndex"
					  PagerStyle-Mode="NumericPages" PageSize="15"
					  PagerStyle-HorizontalAlign="Right" PagerStyle-Font-Size="10pt"
					  id="PictureGrid" runat="server"
					  ItemStyle-HorizontalAlign="Center"
					  AutoGenerateColumns="False"
					  BorderStyle="None" BorderWidth="0"
					  ShowHeader="False">
			<Columns>  
			<asp:TemplateColumn HeaderText="Actions" ItemStyle-HorizontalAlign="center">
			<ItemTemplate>
				<span style="cursor:hand" title="Click to view this picture (<%# DataBinder.Eval(Container.DataItem, "SlideSize") %>). Taken on <%# DataBinder.Eval(Container.DataItem, "SlideDate") %>" onclick="NavigateSlide('<%# DataBinder.Eval(Container.DataItem, "SlideName") %>')">
					<img class="Thumb" src="<%# DataBinder.Eval(Container.DataItem, "FileName") %>">
				</span>
			</ItemTemplate>
			</asp:TemplateColumn>
			</Columns>
		</asp:DataGrid>
		</form>
	</BODY>
</html>